﻿using Microsoft.Practices.Unity;
using RealtorGuide.Classes;

namespace RG.Classes.Impl.Beta
{
    public static class IUnityContainer_RGExtrension
    {
        public static IUnityContainer RG_FakeClasses(this IUnityContainer cfg)
        {
            cfg
                .RegisterType<IApartmentService, ApartmentFakeService>()
                .RegisterType<IManagerService, ManagerFakeService>()
                .RegisterType<IMicroAreaService, MicroAreaFakeService>()

                ;

            return cfg;
        }
    }
}
